//
// Created by zhp on 2025/7/17.
//

#ifndef DEMOSYNTAXC_STUDENT_H
#define DEMOSYNTAXC_STUDENT_H

#include <string>

class student2 {

    int age;
    std::string name = "123";

    int sex;

public:
    // 构造器,赋值
    student2(int age, const std::string &name, int sex = 1) : age(age), name(name) {};


    // 析构函数
    ~student2();

};


#endif //DEMOSYNTAXC_STUDENT_H
